package org.reference.generic.work;

import org.reference.generic.base.Item;

/**
 * 
 */
public class Job extends Item {
	
	private int index;

    /**
     * 
     */
    public Job(double processingTime) {
//    	synchronized (this) { //하나의 쓰레드만 접근 가능  
//			//uuid=guuid++;
//		}
    	this.processingTime=processingTime;

    }

    /**
     * 
     */
    private double processingTime;
    
    private boolean finish;

    /**
     * @param time
     */
    public void setProcessingTime(double time) {
        this.processingTime=time;
    }

    /**
     * @return
     */
    public double getProcessingTime() {
      
        return processingTime;
    }

	public int getJobIndex() {
		return index;
	}

	public void setJobIndex(int index) {
		this.index = index;
	}



}